Skip to content

test: run heavy test on ubuntu-latest only#517

Merged
olivermeyer merged 1 commit into
mainfrom
test/ubuntu-latest-runner
Mar 31, 2026
Merged

test: run heavy test on ubuntu-latest only#517
olivermeyer merged 1 commit into
mainfrom
test/ubuntu-latest-runner

Conversation

@olivermeyer

Copy link
Copy Markdown
Collaborator

Running test_cli_run_submit_and_describe_and_cancel_and_download_and_delete on all runners created unrealistic load on the platform. We will run it only on the ubuntu-latest runner instead.

Copilot AI review requested due to automatic review settings March 27, 2026 15:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces external platform load by ensuring a particularly heavy long-running E2E CLI test is only executed on the Linux x86_64 CI runner (intended to be ubuntu-latest) rather than across the full multi-OS runner matrix.

Changes:

  • Add a pytest.mark.skipif gate to prevent the heavy E2E test from running on macOS, Windows, and Linux ARM runners.

Comment on lines +489 to +493
@pytest.mark.skipif(
(platform.system() == "Linux" and platform.machine() in {"aarch64", "arm64"})
or (platform.system() in {"Darwin", "Windows"}),
reason="Only hit on ubuntu-latest runner to avoid creating unnecessary load on the platform.",
)

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The skip condition is OS/arch-based (runs on any Linux x86_64), but the skip reason says it will run only on the ubuntu-latest runner. Consider either tightening the condition (e.g., also check GITHUB_ACTIONS/runner env) or rewording the reason to match the actual behavior (e.g., “run only on Linux x86_64 / GitHub Actions ubuntu-latest”).

Copilot uses AI. Check for mistakes.
@olivermeyer olivermeyer force-pushed the test/ubuntu-latest-runner branch from 4db56f6 to f3f728f Compare March 27, 2026 15:10
@codecov

codecov Bot commented Mar 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 6 files with indirect coverage changes

Copilot AI review requested due to automatic review settings March 30, 2026 15:32
@olivermeyer olivermeyer force-pushed the test/ubuntu-latest-runner branch from f3f728f to 9ef5953 Compare March 30, 2026 15:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread tests/aignostics/application/cli_test.py
Comment thread tests/aignostics/application/cli_test.py Outdated
@olivermeyer olivermeyer force-pushed the test/ubuntu-latest-runner branch from 9ef5953 to 214d4a9 Compare March 30, 2026 15:58
@sonarqubecloud

Copy link
Copy Markdown

@olivermeyer olivermeyer requested a review from arne-aignx March 30, 2026 17:06
@olivermeyer olivermeyer merged commit 01e1ec2 into main Mar 31, 2026
29 checks passed
@olivermeyer olivermeyer deleted the test/ubuntu-latest-runner branch May 7, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants